package com.video.service;

import com.video.entity.Speaker;

import java.util.List;

public interface SpeakerService {
    Speaker selectByPrimaryKey(Integer id);

    List<Speaker> findAll();

    void addSpeaker(Speaker speaker);

    int delSpeakerById(Integer id);

    int updateById(Integer id);

    void updateSpeaker(Speaker speaker);

    Integer getTotalCount();

    Speaker findById(Integer id);

    Integer deleteById(Integer id);
}
